import dva from 'dva';
import createLoading from 'dva-loading';


// 1. Initialize
const app = dva();
// 2. Plugins
app.use(createLoading());
// 4. Router
app.model(require('./public/layout/models/index'));
app.model(require("./public/layout/models/passwordModal"));

app.router(require('./router'));
// 5. Start
app.start('#root');
